import type { RouteRecordRaw } from 'vue-router'

//定义userStore类型
export interface UserState {
  token: string | null
  userInfo: {
    userId: number
    avatar: string
    username: string
    password: string
    desc: string
    roles: string[]
    buttons: string[]
    routes: string[]
    token: string
  } | null
  menuRouters: RouteRecordRaw[]
}
